/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import net.minecraft.entity.player.EntityPlayer;
/*    */ import net.minecraft.entity.player.EntityPlayerMP;
/*    */ import net.minecraft.util.math.BlockPos;
/*    */ import net.minecraftforge.fml.common.network.NetworkRegistry;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper;
/*    */ import net.minecraftforge.fml.relauncher.Side;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class fr
/*    */ {
/*    */   public SimpleNetworkWrapper q;
/* 22 */   private static int g = 0;
/*    */   
/*    */   public void z() {
/* 25 */     this.q = NetworkRegistry.INSTANCE.newSimpleChannel("nbtedit");
/* 26 */     v();
/*    */   }
/*    */   
/*    */   public void v() {
/* 30 */     this.q.registerMessage(dw.eos/moe/dragoncore/sz.class, dw.class, g++, Side.SERVER);
/* 31 */     this.q.registerMessage(no.eos/moe/dragoncore/oz.class, no.class, g++, Side.SERVER);
/* 32 */     this.q.registerMessage(rp.eos/moe/dragoncore/ix.class, rp.class, g++, Side.SERVER);
/* 33 */     this.q.registerMessage(eq.eos/moe/dragoncore/pu.class, eq.class, g++, Side.SERVER);
/*    */ 
/*    */     
/* 36 */     this.q.registerMessage(no.eos/moe/dragoncore/oz.class, no.class, g++, Side.CLIENT);
/* 37 */     this.q.registerMessage(eq.eos/moe/dragoncore/pu.class, eq.class, g++, Side.CLIENT);
/* 38 */     this.q.registerMessage(hv.eos/moe/dragoncore/ht.class, hv.class, g++, Side.CLIENT);
/*    */   }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   public void v(EntityPlayerMP entityPlayerMP, BlockPos blockPos) {
/* 48 */     if (qz.w.v((EntityPlayer)entityPlayerMP)) {
/* 49 */       entityPlayerMP.func_71121_q().func_152344_a(new cv(this, entityPlayerMP, blockPos));
/*    */     }
/*    */   }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   public void v(EntityPlayerMP entityPlayerMP, int i) {
/* 73 */     if (qz.w.v((EntityPlayer)entityPlayerMP))
/* 74 */       entityPlayerMP.func_71121_q().func_152344_a(new yr(this, entityPlayerMP, i)); 
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\fr.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */